home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / TGCBOR20.ARJ / INTROPAK.COM / HIDESHOW.C < prev    next >
Text File  |  1991-04-06  |  477b  |  36 lines

  1.  
  2.   /* -- This program shows how a image can be moved around behind  */
  3.   /* -- another image(s). */
  4.  
  5. #include "teglsys.h"
  6.  
  7. imagestkptr  fs;
  8.  
  9.  
  10.  
  11.  
  12. void main(void)
  13. {
  14.  
  15.   easytegl();
  16.   easyout();
  17.  
  18.  
  19.   pushimage(1,1,100,100);
  20.   shadowbox(1,1,100,100);
  21.   fs = stackptr;
  22.  
  23.   pushimage(50,50,150,150); 
  24.   shadowbox(50,50,150,150); 
  25.  
  26.   while (mouse_buttons == 0) ; 
  27.  
  28.   hideimage(fs); 
  29.   showimage(fs,fs->x + 100,fs->y + 100); 
  30.  
  31.   teglsupervisor(); 
  32. }
  33.  
  34.  
  35.  
  36.